<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>hello</title>
    <script src="/webjars/jquery/jquery.min.js"></script> 
	<script src="/webjars/bootstrap/js/bootstrap.min.js"></script> 
	<link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<h1>Thymeleaf</h1>
<hr/>
    <table class="table table-striped table-bordered table-hover">
        <tr class="info">
            <td>用户名</td>
            <td>密码</td>
            <td>日期</td>
        </tr>
        <!--/*@thymesVar id="userList" type=""*/-->
        <tr th:each="user : ${userList}" class="success">
            <td th:text="${user.username}">冀永光</td>
            <td th:text="${user.password}">jiyongguang.</td>
            <td th:text="${#dates.format(user.birthday,'yyyy-MM-dd HH:mm:ss')}">2018</td>
        </tr>
    </table>
    </body>
</html>